package com.wuyanyidui.dao;

import com.wuyanyidui.domain.Reply;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ReplyDao {
    //增
    public void addReply(Reply reply);
    //列
    public List<Reply> listReplyByPostId(int postId);
    //删
    public void deleteReplyById(int postId);
    //找
    public Reply findReplyByReplyId(int replyId);
    //点赞
    public void addReplyGoodCount(int replyId);
    //踩
    public void addReplyBadCount(int replyId);
}
